package com.bootx.entity;

import com.fasterxml.jackson.annotation.JsonView;
import jakarta.persistence.Entity;

@Entity
public class BetInfo extends BaseEntity<Long>{

    @JsonView({EditView.class})
    public Integer num;

    /**
     * 单,双，大，小，数字
     */
    @JsonView({EditView.class})
    private String type;

    @JsonView({EditView.class})
    private Integer money;

    private Integer stop;

    private Integer continuousOk;

    private Integer continuousError;

    private Long sn;

    @JsonView({EditView.class})
    private Integer open;

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getStop() {
        return stop;
    }

    public void setStop(Integer stop) {
        this.stop = stop;
    }

    public Integer getContinuousOk() {
        return continuousOk;
    }

    public void setContinuousOk(Integer continuousOk) {
        this.continuousOk = continuousOk;
    }

    public Integer getContinuousError() {
        return continuousError;
    }

    public void setContinuousError(Integer continuousError) {
        this.continuousError = continuousError;
    }

    public Long getSn() {
        return sn;
    }

    public void setSn(Long sn) {
        this.sn = sn;
    }

    public Integer getOpen() {
        return open;
    }

    public void setOpen(Integer open) {
        this.open = open;
    }
}
